package com.website.dayouziblog.model.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * user用户表实体类
 */
@Data
@ToString
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class UserDTO implements Serializable {
    private static final long serialVersionUID = -692711525491550691L;

    @ApiModelProperty(value = "token", hidden = true)
    private String token;

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("账号")
    private String userAccount;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("密码")
    private String password;

}
